package com.yidu.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.yidu.domain.ListenUserRole;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangyu
 * @since 2018-11-27
 */
public interface ListenUserRoleService{
	
	PageInfo<ListenUserRole> findAll(Integer page, Integer pageSize, ListenUserRole role);

	int insertSelective(ListenUserRole role);

	int updateByPrimaryKeySelective(ListenUserRole role);

	List<ListenUserRole> selectByPrimaryKey(String urId);

	int deleteByPrimaryKey(String buId);
	/**
     * 根据用户id查询角色
     * @author wpy
     * @param urId 用户id
     * @return
     */
    List<ListenUserRole> selectRole(String urId);

	ListenUserRole queryAll();

	int deleteByBuId(String buId);


}
